package co.yixiang.yshop.module.crm.controller.admin.crmcloudcalllog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 呼叫记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CrmCloudcallLogRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14732")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "联系人名称", example = "赵六")
    @ExcelProperty("联系人名称")
    private String name;

    @Schema(description = "来源类型如customer，clues")
    @ExcelProperty("来源类型如customer，clues")
    private String source;

    @Schema(description = "来源数据ID", example = "21913")
    @ExcelProperty("来源数据ID")
    private Long sourceId;

    @Schema(description = "员工ID", example = "7228")
    @ExcelProperty("员工ID")
    private Long adminId;

    @Schema(description = "员工")
    private String adminName;

    @Schema(description = "坐席工号")
    @ExcelProperty("坐席工号")
    private String fromExten;

    @Schema(description = "处理状态", example = "2")
    private String status;

    @Schema(description = "呼叫号码")
    @ExcelProperty("呼叫号码")
    private String callNo;

    @Schema(description = "被呼叫号码")
    @ExcelProperty("被呼叫号码")
    private String calledNo;

    @Schema(description = "录音文件")
    @ExcelProperty("录音文件")
    private String recordFile;

    @Schema(description = "呼叫时长(秒)")
    @ExcelProperty("呼叫时长(秒)")
    private Integer callTimeLength;

    @Schema(description = "呼叫类型", example = "1")
    private String connectType;

    @Schema(description = "呼叫事件ID", example = "1287")
    @ExcelProperty("呼叫事件ID")
    private String actionId;

    @Schema(description = "添加时间")
    @ExcelProperty("添加时间")
    private LocalDateTime createTime;

}